package com.example.springboot.services;

import com.example.springboot.domain.PageBean;
import com.example.springboot.domain.User;

import java.util.List;

public interface UserService {

    public PageBean<User> pageQuery(Integer page, Integer pageSize, String  username, String  name, String sex);

    public Boolean delUserById(Long id);

    public Boolean addUser(User user);

    public Boolean updateUser(User user);

    public User findUserById(Long id);

    public List<User> findUserByIdList(List<Long> idList);
}
